#ifndef CONFIGREADER_H
#define CONFIGREADER_H

#include "host.h"

class ConfigReader
{
public:
    ConfigReader();

    /**
     * @brief readConfigFile Reads configuration of application.
     * @param filepath Path to the config file.
     * @param myHost Configuration of local host.
     * @param remoteHosts Configurations of remote hosts.
     * @return True if config was read successfully, otherwise false.
     */
    bool readConfigFile(QString filepath, Host* myHost, QList<Host>* remoteHosts);
};

#endif // CONFIGREADER_H
